package com.copc.common.model.vo;

import com.copc.common.annotation.Validation;
import com.copc.common.constants.ValidConstants;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * 被保人信息
 * @author: yuanbin
 * @date:Created in 2022/11/9 13:39
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class InsuredsVO {

    @ApiModelProperty(value = "客户姓名" )
    @Validation(message = "customerName不可为空")
    private String customerName;

    @ApiModelProperty(value = "性别" )
    @Validation(message = "gender不可为空")
    private String gender;

    @ApiModelProperty(value = "生日" )
    private String birthday;

    @ApiModelProperty(value = "证件类型" )
    @Validation(message = "idType不可为空")
    private String idType;

    @ApiModelProperty(value = "证件号码" )
    @Validation(message = "idNumber不可为空")
    private String idNumber;

    @ApiModelProperty(value = "手机号" )
    @Validation(message = "mobile不能为空")
    private String mobile;

    @ApiModelProperty(value = "邮箱" )
    private String email;

    @ApiModelProperty(value = "与投保人关系" )
    @Validation(message = "relationWithApplicant不可为空")
    private String relationWithApplicant;

    @ApiModelProperty(value = "法定受益人标识（04）" )
    private String legalBeneficiary;

    @ApiModelProperty(value = "被保人序号" )
    private String insuredNum;

    @ApiModelProperty(value = "社保编号" )
    private String socialinsuNo;

    @ApiModelProperty(value = "社保标识" )
    private String socialinsuFlag;

//    private String insuredFlag;

    @ApiModelProperty(value = "告知路径" )
    private String informThePath;

    @ApiModelProperty(value = "证件有效起期" )
    private String idStartDate;

    @ApiModelProperty(value = "证件有效止期" )
    private String idEndDate;

    @ApiModelProperty(value = "国籍" )
    private String localPoliceStation;

    @ApiModelProperty(value = "省" )
    private String province;

    @ApiModelProperty(value = "市" )
    private String city;

    @ApiModelProperty(value = "区" )
    private String area;

    @ApiModelProperty(value = "地址" )
    private String address;

    @ApiModelProperty(value = "邮编" )
    private String postalCode;


    @ApiModelProperty(value = "职业代码" )
    @Validation(message = "被保人occupationCode不可为空")
    private String occupationCode;

    private List<BenesVO> benes = new ArrayList<>();

    private List<AddressVO> addressList = new ArrayList<>() ;
}
